<template>
  <div class="home-title">
    <h1>{{title}}</h1>
  </div>
</template>

<script>
  export default{
    name:'HomeTitle',
    props:{
      title:String,
      default(){
        return '一线通';
      }
    }
  }
</script>

<style lang="scss" scoped="scoped">
  @import '~styles/mixins.scss';
  @import '~styles/variables.scss';

  .home-title{
    @include flex-row;
    align-items: center;
    height: .5rem;
    background-color: #fff;
    padding-left: .2rem;
    margin-top: .1rem;
    border-bottom: 1px solid #DDDDDD;

    h1{
      font-size: .18rem;
    }
  }
</style>
